/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gt.entity.GtTecClear;
import com.thinkgem.jeesite.modules.gt.dao.GtTecClearDao;

/**
 * 技术明白人信息Service
 * @author zad
 * @version 2018-03-26
 */
@Service
@Transactional(readOnly = true)
public class GtTecClearService extends CrudService<GtTecClearDao, GtTecClear> {

	public GtTecClear get(String id) {
		return super.get(id);
	}
	
	public List<GtTecClear> findList(GtTecClear gtTecClear) {
		return super.findList(gtTecClear);
	}
	
	public Page<GtTecClear> findPage(Page<GtTecClear> page, GtTecClear gtTecClear) {
		return super.findPage(page, gtTecClear);
	}
	
	@Transactional(readOnly = false)
	public void save(GtTecClear gtTecClear) {
		super.save(gtTecClear);
	}
	
	@Transactional(readOnly = false)
	public void delete(GtTecClear gtTecClear) {
		super.delete(gtTecClear);
	}
	
	// 批量插入技术明白人扶贫人信息
	public int insertList(List<GtTecClear> tecClearList)
	{
		return super.dao.insertList(tecClearList);
	}
}